package com.aponisipsis.gl3d.geometry;

import org.newdawn.slick.opengl.Texture;

public class TextureUnit {
	private Texture texture;
	private boolean normalMap;
	private float normalFactor;
	
	int textureId;
	private String name;
	private String uvMap;
	
	public TextureUnit(String name, String uvMap, boolean normalMap, float normalFactor){
		this.texture = null;
		this.name = name;
		this.uvMap = uvMap;
		this.normalMap = normalMap;
		this.normalFactor = normalFactor;
	}
	public TextureUnit(String name, String uvMap){
		this(name,uvMap,false,0.0f);
	}
	
	public void setTexture(Texture texture){
		this.texture = texture;
	}
	public Texture getTexture() {
		return texture;
	}
	public boolean isNormalMap() {
		return normalMap;
	}
	public float getNormalFactor() {
		return normalFactor;
	}
	public String getName() {
		return name;
	}
	public String getUvMap() {
		return uvMap;
	}
	
	 
}
